{include file="header.html"}
<link rel="stylesheet" type="text/css" href="/css/dashboard.css">
<script type="text/javascript" src="/js/dashboard.js"></script>
	<div class="container new">
		<form class="form-inline" role="form" action="/index.php/account/addwx">
			<div class="form-group">
				<label class="sr-only" for="wxName">微信账号></label>
				<input class="form-control" id="wxName" name="wxName" placeholder="微信账号">
			</div>
			<div class="form-group">
				<label class="sr-only" for="wxPasswd">微信密码></label>
				<input class="form-control" id="wxPasswd" name="wxPasswd" placeholder="微信密码">
			</div>
			<button type="submit" id="addWxAccout" class="btn btn-primary">新增</button>
		</form>
	</div>
	<div class="container">
		<table class="table table-striped">
			<thead>
				<tr>
					<th>#</th>
					<th>微信账号</th>
					<th>微信密码</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				{foreach from=$wxAccounts item=account}
					<tr>
						<td>{$account.id}</td>
						<td>{$account.name}</td>
						<td>{$account.password}</td>
						<td><a href="/index.php/account/setpos?id={$account.id}" target="_blank">操作</a></td>
					</tr>
				{/foreach}
			</tbody>
		</table>
	</div>
{include file="footer.html"}